package com.zxstudio.bulls.stock.user.startup;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = { "com.zxstudio" })
@MapperScan({"com.zxstudio.bulls.stock.user.dao","com.zxstudio.bulls.stock.common.system.dao"})
@EnableTransactionManagement
public class StockUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(StockUserApplication.class,args);
    }

//    /**
//     * 提供测试访问接口
//     * @return
//     */
//    @RequestMapping("/welcome")
//    public String welcome() {
//        return "welcome bulls stock platform!";
//    }
}
